package com.lzy.cloud.user.remote;

import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;


@FeignClient(name = "lzy-cloud-base")
public interface BaseApi {

    /**
     * 判断后台用户是否登录
     *
     * @param token
     * @return
     */
    @RequestMapping(value = "/base/user/token" ,method = RequestMethod.GET)
    Result isUserLogin(@RequestHeader("token") String token);
}
